<script type="text/javascript">
$(document).ready(function () {
	var msg = $("#flash").val();
	if(msg != "")
		Alert.display("<?php echo h($message); ?>", "success");
}); 	
</script>